<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>使用 ES6 进行模块化体验 Vue</title>
<!--    <script src="https://unpkg.com/vue@3.3.4/dist/vue.esm-browser.js"></script>-->
</head>
<body>
<div id="root">
  <h1>Hello, World!</h1>
  <h1>{{ message }}</h1>
</div>

<script  type="module">
  import {createApp} from "../../../../js/vue.esm-browser.js"

  const app = createApp({
    setup(){
      return {
        message: "Hello, World!",
      }
    }
  })

  app.mount("#root")
</script>
</body>
</html>